<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__PUBLIC__/Css/public.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Css/Node.css"/>
    <title>Title</title>
</head>
<body>
<table>
    <div id="wrap">
        <foreach name="node" item="app">
            <div class="app">
                <p>
                    <label style="">
                     <strong>
                         {$app.name}
                     </strong>
                        [<a href="{:U('admin/rbac/addnode',
                        array('pid'=>$app['id'],'level'=>($app['level']+1))
                        )}">
                        添加控制器</a>]

                    </label>

                </p>
                <foreach name="app.child" item="controll">
                    <dl>
                        <dt>
                            {$controll.name}[<a href="{:U('admin/rbac/addnode',
                    array('pid'=>$controll['id'],'level'=>($controll['level']+1)))}">添加方法</a>]
                        </dt>
                        <foreach name="controll.child" item="action">
                            <dd>
                                {$action.name}[
                                <a href="#">修改</a>
                                <a href="#">删除</a>
                                ]
                            </dd>
                        </foreach>

                    </dl>


                </foreach>
            </div>
        </foreach>

    </div>
</table>
</body>
</html>